﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TRPOP.CRM.Component.Model
{
    /// <summary>
    /// 部门信息
    /// </summary>
    [Serializable]
    public class DepartmentInfo
    {

        /// <summary>
        ///  ID
        /// </summary>
        public int iDepartmentID { get; set; }
        /// <summary>
        ///  父键
        /// </summary>
        public int iParentDepartmentID { get; set; }
        /// <summary>
        ///  部门号
        /// </summary>
        public string nvcDepartmentCode { get; set; }
        /// <summary>
        ///  部门名称
        /// </summary>
        public string nvcDepartmentName { get; set; }
        /// <summary>
        ///  部门描述
        /// </summary>
        public string nvcDiscription { get; set; }
        /// <summary>
        ///  评论
        /// </summary>
        public string nvcRemark { get; set; }
        /// <summary>
        ///  建立时间
        /// </summary>
        public DateTime dtCreationTime { get; set; }
        /// <summary>
        ///  是否已被删除
        /// </summary>
        public bool bIsDelete { get; set; }
        /// <summary>
        ///  扩展
        /// </summary>
        public string ntExtendedProperity { get; set; }
    }

    [Serializable]
    public class DepartmentLevel : DepartmentInfo
    {
        public int iLevel { get; set; }
    }
}

